﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../resources/ligerui/jquery-1.3.2.min.js" type="text/javascript"></script>
    <link href="../resources/ligerui/skin/aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <script src="../resources/ligerui/js/core/base.js" type="text/javascript"></script>
    <script src="../resources/ligerui/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script type="text/javascript" src="resources/crud.js"></script>
    <style type="text/css"> 
        .l-tree .l-tree-icon-none img{width:16px; height:16px; margin:3px;}
    </style>
    <script type="text/javascript">
        $(function ()
        {
            var myaccount = '../resources/ligerui/skin/icons/myaccount.gif';
            var memeber = '../resources/ligerui/skin/icons/memeber.gif';
            var archives = '../resources/ligerui/skin/icons/archives.gif';
            $("#tree1").ligerTree({
                    		url:'mvc/query/getmenu',
                    		checkbox:false
    		            });

            var options = {
            		formInitUrl:'mvc/user/usermgt/init.json',
            		saveUrl:'mvc/user/usermgt/add.json'
                }
            $("#tree1").crud(options);
        });
    </script>
</head>
<body style="padding: 10px">
    <div style="width: 200px; height: 300px; margin: 10px; float: left; border: 1px solid #ccc;
        overflow: auto;">
        <ul id="tree1">
        </ul>
    </div>
    <div style="display: none">
    </div>
</body>
</html>
